/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package array;

/**
 *
 * @author elisa.casarotto
 */
public class array2 {
               publioc static void main (string args)[])   {
                   /*inserite la media dei vostri voti*/
                   duble nums[] = {10.1, 11.2, 12.3, 13.4, 14,5);  
                   duble result = 0;
                   int i;
                   for (i = 0; i < 5; i++)
                   result = result + nums [i];
                   System.out.printl("Average is" + result / 5);  }}
           
    

